﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Security.Principal;
namespace WebServer
{
    public class BaseRequestHandler : IHttpRequestHandler
    {
        public virtual void Get(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user)
        { Get(request, response); }

        public virtual void Post(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user)
        { Post(request, response); }

        public virtual void Put(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user)
        { Put(request, response); }

        public virtual void Delete(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user)
        { Delete(request, response); }

        public virtual void Get(HttpListenerRequest request, HttpListenerResponse response)
        { throw new NotImplementedException(); }

        public virtual void Post(HttpListenerRequest request, HttpListenerResponse response)
        { throw new NotImplementedException(); }

        public virtual void Put(HttpListenerRequest request, HttpListenerResponse response)
        { throw new NotImplementedException(); }

        public virtual void Delete(HttpListenerRequest request, HttpListenerResponse response)
        { throw new NotImplementedException(); }

    }
}
